<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>字符串对象</title>
	<script>
		str ="xuebingbsbi";
		str1 ="学并思";
		// str[0]='b';
		// document.write(str);

		// res = str.slice(3,6);
		// res = str.match('bb');
		res = str.replace('b','xxx');
		// document.write(res);

		obj = new String()
		console.log(obj);


		str = "jpg@png@gif@bmp";

		arr = str.split('@');

		console.log(arr);

		str = "XfkgkfldSFD";

		res = str.toLowerCase();
		res = str.toUpperCase();

		// document.write(res);



		1 [56,56,5,65,65,67] 排序

		2  "紧接着要抽取的学并思片段的结尾的下标。若未指学并思定此参数，则要提取的子串包括 start 到原字符串结尾的字符学并思串。如果该参数是负数，那么它规定的是从字学并思符串的尾部开始算起的位置。"

		统计出字符串中有多少个学并思

		3  "HzdjfsrtZDSC" "hZDJFSRTzdsc";






	</script>
</head>
<body>
	
</body>
</html>